using pixolut.BizBlox;

public class Food : DataObject
{

//START BizBlox Generated Code : Do not remove or alter this comment
//Last Updated : Friday, 30 March 2007 3:00:51 PM
//BizBlox Version : 1.2.1.0
#region "BizBlox Generated Code"


// Start BizBloxBuilder Metadata
// $Identifier = +InheritedElements
// $DoNotModify = False

    public Food():base(){
    }

    public Food(System.Guid uid) : base(uid){
    }

    public new enum Columns {
        FoodID,
        Name,
        Price
    }

    public override string TableName() {
        return "Food";
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = FoodID
// $DoNotModify = False

    private System.Guid m_FoodID;
    [Persist(), PrimaryKey()]
    public System.Guid FoodID{
        get {
            return m_FoodID;
        }
        set {
            this.Touch();
            m_FoodID = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = Name
// $DoNotModify = False

    private System.String m_Name;
    [Persist()]
    public System.String Name{
        get {
            return m_Name;
        }
        set {
            this.Touch();
            m_Name = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = Price
// $DoNotModify = False

    private System.Double m_Price;
    [Persist()]
    public System.Double Price{
        get {
            return m_Price;
        }
        set {
            this.Touch();
            m_Price = value;
        }
    }

// End BizBloxBuilder Metadata

// Start BizBloxBuilder Metadata
// $Identifier = +OtherElements
// $DoNotModify = False

// End BizBloxBuilder Metadata

#endregion

//END BizBlox Generated Code : Do not remove or alter this comment

}